From 7548e2ad6948f1c6aa102fcac408bc6c9c0f9796 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Wed, 27 Aug 2025 12:06:26 +0000 Subject: (대표님, 최겸) 기본계약, 입찰, 파일라우트, 계약서명라우트, 인포메이션, 메뉴설정, PQ(메일템플릿 관련) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/files/[...path]/route.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'app/api/files/[...path]/route.ts') diff --git a/app/api/files/[...path]/route.ts b/app/api/files/[...path]/route.ts index 2b58ca43..3fb60347 100644 --- a/app/api/files/[...path]/route.ts +++ b/app/api/files/[...path]/route.ts @@ -92,6 +92,7 @@ export async function GET( if (process.env.NODE_ENV === 'production') { // ✅ 프로덕션: NAS 경로 사용 filePath = path.join(nasPath, requestedPath); + } else { // 개발: public 폴더 filePath = path.join(process.cwd(), 'public', requestedPath); -- cgit v1.2.3